//#define __DEBUG__
#define THIS_FILE "fn_addInsignia.sqf"
#include "x_setup.sqf"

if (!isNil QGVAR(blufor_insignia) || !isNil QGVAR(opfor_insignia)) then {
	if (side _this == GVAR(side_enemy)) then {
		if (!isNil QGVAR(opfor_insignia) && {GVAR(opfor_insignia) != ""}) then {
			[_this,GVAR(opfor_insignia)] call BIS_fnc_setUnitInsignia;
		};
	} else {
		if (!isNil QGVAR(blufor_insignia) && {GVAR(blufor_insignia) != ""}) then {
			[_this,GVAR(blufor_insignia)] call BIS_fnc_setUnitInsignia;
		};
	};
};